#include<stdio.h>
#include<string.h>
int main()
{
    char s1[1010];
    char s2[1010];
    while(~scanf("%s%s",s1,s2))
    {
        int len1 = strlen(s1);
        int len2 = strlen(s2);
        if(len1>len2)
        {
            for(int i =0;i<len1;i++)
            {
                if(i<len2)
                {
                    if(i%2==0)
                    {
                        printf("%c%c",s1[i],s2[i]);
                    }
                    else
                    {
                        printf("%c%c",s2[i],s1[i]);
                    }
                }
                else
                {
                    printf("%c",s1[i]);
                }
            }
        }
        else if(len1<len2)
        {
            for(int i =0;i<len2;i++)
            {
                if(i<len1)
                {
                    if(i%2==0)
                    {
                        printf("%c%c",s1[i],s2[i]);
                    }
                    else
                    {
                        printf("%c%c",s2[i],s1[i]);
                    }
                }
                else
                {
                    printf("%c",s2[i]);
                }
            }
        }
        else
        {
            for(int i =0;i<len1;i++)
            {
                if(i%2==0)
                {
                    printf("%c%c",s1[i],s2[i]);
                }
                else
                {
                    printf("%c%c",s2[i],s1[i]);
                }
            }
        }
        printf("\n");
    }
    return 0;
}